<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section class="section-right">
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>终端设置</h3>
			<h4>终端订单优惠</h4>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">
			<div class="chit-buy">
				<h3 style="text-align: center;font-size: 16px;">是否享受优惠</h3>
				<ul>
					<li data-active='1' class="active">不享受</li>
					<li data-active='2'>享受</li>
					<li data-active='3'>储值卡支付可享受</li>
				</ul>
					<button class="submit chit-btn">提交</button>
			</div>
		</div>
		<!--/deer-content-->
	</section>
	
	<!--js-->
	<aside>
		
		<script type="text/javascript" src="../layui/layui.js" ></script>
		<script type="text/javascript">
			
			layui.use(['jquery','layer'],function(){
				var $=layui.jquery;
				var layer=layui.layer;
				var num=0
				$('.chit-buy>ul>li').bind('click',function(){
					num=$(this).index()
					$(this).addClass('active').siblings().removeClass('active')
				})
				
				$('.submit').bind('click',function(){
					var active=$('.chit-buy>ul>li').eq(num).data('active')
					
					console.log(active)
					//ajax
					layer.msg('修改成功',{icon:1})
//					layer.msg('修改失败',{icon:2})
				})
					
				
				
				
				
			})
			
		</script>
		
		
		
	</aside>
	<!--/js-->
</body>
</html>